#----------------------------------------
# Readme
#----------------------------------------

Replication files for Measuring Political Narratives in African News Media: A Word Embeddings Approach

Authors: Risa Kitagawa and Fiona Shen-Bayh

This document describes the contents of the replication archive that reproduces the results in the paper. All files were compiled using Mac OS Monterey (Version 12.6.3), R version 4.2.2, and R Studio version 2023.06.0+421. 

The R packages used for analysis are listed at the beginning of the script.

All data included in this replication archive was originally collected by the authors, who have the right to share them.

#----------------------------------------
# Archive contents
#----------------------------------------

1. codebook.txt - codebook for variables included in 2-4

2. kitagawa_shenbayh_main_analysis_replication.R - R script that reproduces the results of the main text.

3. kitagawa_shenbayh_appendix_replication.R - R script that reproduces the results of the appendix.

3. ken_oped_data.csv - CSV containing data required to do the text analyses in the main manuscript and appendix.

4. glove.rds - GloVe vectors required to do the embeddings analyses in the main manuscript and appendix.

5. khodakA.rds - transformation matrix required to do the embeddings analyses in the main manuscript and appendix.

6. local_glove.rds - locally trained GloVe vectors required to do the embeddings analyses in the appendix.

7. local_transform.rds - locally trained transformation matrix required to do the embeddings analyses in the appendix.
